$(function () {
    var week_span = $('#day-of-week');
    var int_week = parseInt(week_span.attr('data-day-of-week'));
    var str_week = '星期';
    switch (int_week) {
        case 0:
            str_week += '日';
            break;
        case 1:
            str_week += '一';
            break;
        case 2:
            str_week += '二';
            break;
        case 3:
            str_week += '三';
            break;
        case 4:
            str_week += '四';
            break;
        case 5:
            str_week += '五';
            break;
        case 6:
            str_week += '六';
            break;
        default:
            str_week += '';
    }
    week_span.html(str_week);
});